package com.chennan.pattern.bridge.message;

/**
 * @author chennan
 * @create 2021-10
 */
public class Test {
    public static void main(String[] args) {
        IMessage message = new EmailMessage();


        AbstractMessage abstractMessage = new UrgencyMessage(message);

        abstractMessage.send("我要请假","王总");
    }
}
